
<div class="modal-body" style="min-height: 450px;padding: 20px">
	<div class="modal-header" style="background-color: transparent;">
		<h5 class="modal-title">
			开发者ID<small> 应用接入帐号信息</small>
		</h5>
		<button ng-click="goback()" type="button" class="btn btn-secondary"><i class="iconfont icon-back"></i>&nbsp;返回</button>
	</div>
	<form class="form-horizontal row content">
		<table class="table-form" style="margin: 0px; font-size: 15px;">
			<tr>
				<td class="control-label">APPID(应用ID)：</td>
				<td colspan="3" style="margin-bottom: 10px">{{form.id}}</td>
			</tr>
			<!-- <tr>
				<td class="control-label">Secret（应用密钥）：</td>
				<td colspan="3">
					{{form.log_type}}
     			 </td>
			</tr> -->
		</table>
	</form>
	<div class="modal-header" style="background-color: transparent;">
		<h5 class="modal-title">
			接口配置<small> 应用配置信息</small>
		</h5>
	</div>
	<form class="form-horizontal row content">
		<table class="table table-bordered">
			<thead>
				<tr>
					<th style="width: 200px">类型</th>
					<th style="width: 200px">接口</th>
					<th>说明</th>
					<th style="width: 80px">状态</th>
					<th style="width: 100px">操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat='dic in dicList'>
					<td valign="middle" align="center" style="vertical-align: middle;">{{dic.name}}</td>
					<td colspan="4" style="padding: 0px;">
						<table class="table table-hover"
							style="margin: 0px; margin-top: -1px;">
							<tbody>
								<tr ng-repeat='api in apis | filter :{ api_type:dic.code }'>
									<td style="width: 200px">{{api.api_name}}</td>
									<td>{{api.api_description}}</td>

									<td style="width: 80px" ng-switch on="api.aa_pk"><span
										ng-switch-when="0">未开启</span> <span ng-switch-default>已开启</span>
									</td>
									<td ng-switch on="api.aa_pk" style="width: 100px"><span
										ng-switch-when="0"><a href="" ng-click="openApi(api)">开启</a></span>
										<span ng-switch-default> <a href="" ng-click="closeApi(api)">关闭</a> &nbsp; <a href="" ng-click="setApi(api)">设置</a>
									</span></td>
								</tr>

							</tbody>
						</table>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
</div>



